function regist(){
	var _name = $("#name");
	var _password = $("#password");
	var _repassword = $("#repassword");
	if($.trim(_name.val()) === ""){
		_name.focus();
        new $.zui.Messager('用户名不能为空哦。', {
            icon: 'bell',
            placement: 'bottom-right'
        }).show();
        return;
	}
	if($.trim(_password.val()) === ""){
		_password.focus();
        new $.zui.Messager('密码不能为空哦。', {
            icon: 'bell',
            placement: 'bottom-right'
        }).show();
        return;
	}
	if ($.trim(_password.val()) !== $.trim(_repassword.val())) {
        _repassword.focus();
        new $.zui.Messager('两次密码要一样哦。', {
            icon: 'bell',
            placement: 'bottom-right'
        }).show();
        return;
    }
    $("#registForm").submit();
}